//
//  LWXArticleCommentCell.m
//  EPA
//
//  Created by lanou3g on 16/4/26.
//  Copyright © 2016年 Liuwx. All rights reserved.
//

#import "LWXArticleCommentCell.h"

@interface LWXArticleCommentCell()
@property (weak, nonatomic) IBOutlet UIImageView *userImageView;

@property (weak, nonatomic) IBOutlet UILabel *commentLabel;
@property (weak, nonatomic) IBOutlet UILabel *commentDateLabel;
@property (weak, nonatomic) IBOutlet UILabel *userNameLabel;




@end

@implementation LWXArticleCommentCell

- (void)layoutSubviews {
    self.commentDateLabel.text = self.model.addtime_f;
    self.commentLabel.text = self.model.content;
    self.userNameLabel.text = self.model.uname;
    self.userImageView.image = [UIImage imageWithData:[NSData dataWithContentsOfURL:[NSURL URLWithString:self.model.icon]]];
    
    
    
}

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
